package com.yh.model;


import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component("emp")
public class Emp implements Serializable {
	
	private Integer empNo;
	private String empName;
	private String job;
	private Integer mgr;
	private Double salary;
	
	
	
	public Emp() {
		super();
	}
	public Emp(String empName, Double salary) {
		super();
		this.empName = empName;
		this.salary = salary;
	}
	public String getEmpName() {
		return empName;
	}
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	public Integer getEmpNo() {
		return empNo;
	}
	public void setEmpNo(Integer empNo) {
		this.empNo = empNo;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public Double getSalary() {
		return salary;
	}
	public void setSalary(Double salary) {
		this.salary = salary;
	}
	public Integer getMgr() {
		return mgr;
	}
	public void setMgr(Integer mgr) {
		this.mgr = mgr;
	}

}
